import {ref} from 'vue' 

const target = { name: "york", age: 30 };

const handler = {
  get(target, prop, receiver) {
    if (prop in target) {
      return target[prop];
    } else {
      return `Property '${prop}' does not exist`;
    }
  },
};

const proxy = new Proxy(target, handler);

console.log(proxy.name);
console.log(proxy.age);
console.log(proxy.gender);

const count = ref(0);
console.log(count.value);
